package cn.edu.scau.cmi.zhangjunjia.simpleFactoryMethod.domain;

public class Beef extends Meat {
	private String name;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	@Override
	public String cook() {
    	
	String str = "beef is marvelous !";
	return str;
	
	//System.out.println("beef is marvelous !");
    }

}
